'required if you want to ensure that a cookie is placed on the browser.
Response.Buffer = True
%>
<HTML>
<BODY><H1>Sample PollCat Poll</H1>
<H4>This sample shows how you can draw a table with borders turned on to give the poll a cell to draw its elements. The component is instantiated in a table cell.
Set the poll ID and you are done.<P>
You will need to delete your cookie to get the poll to come up again in input mode.</H4>
<TABLE WIDTH=70 BORDER=1>
<TR><TD valign=top>
<%
'instantiate the poll
Set PollCat = Server.CreateObject("isPollCat.UI")
'To bypass the server default data path, set a path to your PollCat data files here.
'PollCat.DataPath = "e:\data\polldata\"
'If you want to only show the results of Polls and not collect more responses, set this
'property to True; it is false by default.
'PollCat.ResultsOnly = True
'If you do not want to show the total number of votes taken but only want to show
'the percentages, set this property to False; it is true by default
'PollCat.ShowTotals = False
'set the reference to the PollCat ID as noted within Administration